package com.software.fanfan.entity.vo;

/**
 * 用于封装后台返回的数据，保证返回的数据格式一致
 *
 * Created by shiyanfei on 2018-01-09.
 */
public class Result<T> {

    /**返回code**/
    private int code;

    /**返回的信息**/
    private String msg;

    /**返回的数据**/
    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
